minetest.register_node("lunorecipes:papyrusofbale", {
	description = "Fardo de Papiro",
	--drawtype = "nodebox",
	--paramtype = "light", --Não sei pq, mas o bloco não aceita a luz se nao tiver esta propriedade
	--paramtype2 = "facedir",
	--light_source = LIGHT_MAX, --Este tapete brilha no escuro pq é mágico.
	node_box = {
		type = "fixed",
		fixed = { {-.5,-.5,-.5,    .5,.5,.5}	}
	},
	selection_box = {
		type = "fixed",
		fixed = { {-.5,-.5,-.5,    .5,.5,.5}	}
	},
	tiles = {
		"tex_papyrusofbale_topdown.png", --acima
		"tex_papyrusofbale_topdown.png^[transformfx",  --abaixo
		"tex_papyrusofbale_size.png" --lados
	},
	groups = {snappy=3,flammable=2,dig_immediate=3,attached_node=1},
	--sounds = default.node_sound_wood_defaults(),
	--sounds = default.node_sound_dirt_defaults(),
	sounds = default.node_sound_dirt_defaults({
		footstep = {name="default_grass_footstep", gain=0.25},
	}),
	--drop = "farming:wheat 9",
	after_place_node = function(pos, placer)
		local meta = minetest.get_meta(pos)
		meta:set_string("infotext", "Fardo de Papiro")
	end,
})

minetest.register_craft({
	output = "lunorecipes:papyrusofbale",
	recipe = {
		{"default:papyrus", "default:papyrus", "default:papyrus"},
		{"default:papyrus", "default:papyrus", "default:papyrus"},
		{"default:papyrus", "default:papyrus", "default:papyrus"},
	}
})

minetest.register_craft({
	output = "default:papyrus 9",
	recipe = {
		{"lunorecipes:papyrusofbale"},
	}
})


minetest.register_alias("papyrusofbale"	,"lunorecipes:papyrusofbale")
minetest.register_alias("fardodepapiro"	,"lunorecipes:papyrusofbale")
minetest.register_alias("fardopapiro"		,"lunorecipes:papyrusofbale")
minetest.register_alias("blocodepapiro"	,"lunorecipes:papyrusofbale")
minetest.register_alias("blocopapiro"		,"lunorecipes:papyrusofbale")
